/*
 * Copyright (c) 2022-2022 All rights Reserved.
 */

package com.driving.core.entity;

import org.apache.ibatis.type.Alias;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.driving.core.base.AbstractPerson;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 学员信息
 *
 * @author SAGITTAR
 * @since 2017
 */
@Getter
@Setter
@NoArgsConstructor
@Alias(value = "Student")
@TableName(value = "tb_student")
public class Student extends AbstractPerson<Student> {

    private static final long serialVersionUID = -6690956822217536814L;

    @TableField(value = "nick_name")
    private String nickName;

    @TableField(value = "email")
    private String email;

    public Student(Integer id) {
        super(id);
    }
}
